<template>
  <div>
    <!-- tabBer -->
    <van-tabbar v-model="active" route>
      <van-tabbar-item to="/home/shou" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item to="/home/fen" icon="search">分类</van-tabbar-item>
      <van-tabbar-item to="/home/ceat" icon="friends-o">购物车</van-tabbar-item>
      <van-tabbar-item to="/home/my" icon="setting-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script setup>
import {ref} from 'vue'
let active = ref(0)
</script>

<style lang="scss" scoped>
</style>